package edu.scut.course_management.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import edu.scut.course_management.dto.GetConcreteCourse;
import edu.scut.course_management.po.Section;

/**
 * 数据访问，对应库表section
 */
@Repository
public interface SectionMapper {
    //将section添加到数据库中
    void addSection(List<Section> sections);
    //删除课程信息
    void deleteSections(@Param("sections") List<Section> sections);
    //获取具体课程信息列表(学生)
    GetConcreteCourse findConcreteCourseOfSBySection(Section section);
    //获取具体课程信息列表(学生)
    GetConcreteCourse findConcreteCourseOfTBySection(Section section);

}